#include <iostream>
using namespace std;

class cMach
{
public:
cMach(); //defualt constructor(must always be same name as class)
~cMach();//destructor(see above always uses ~)
	char* a;

	void func1();

private: //private not needed just bein standards compliant
};
cMach::cMach() //init, c++ cannot use uninitalized functions
{
}
cMach::~cMach()//see above
{
	cout<<"destroying"<<endl;
}


void cMach::func1()//func1 does this
{

	cin>>a;
	cout<<a<<endl;
}